package com.easy_helth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easy_helth.dto.DishDto;
import com.easy_helth.entity.Dish;

import java.util.Map;

public interface DishService extends IService<Dish> {

//    新增菜品，同时加入对应口味,dish与dish_flavour
    public void saveWithFlavor(DishDto dishDto);
//    查询菜品和口味
    public DishDto getByIdWithFlavor(int id);

    public void updateWithFlavor(DishDto dishDto);
//    修改菜谱状态

    public Map<String, Integer> getDishNumber();
}
